﻿@model  AutoCodeCSharp.Models.AutoListModels

    @{
    ViewBag.Title = "List";
    }

    <div>
        @using (Html.BeginForm("List", "AutoCode"))
    {

            <div class="editor-field A1" style=" float:left; padding-left:10px;">
                <h2>Code</h2>
                @Html.TextAreaFor(m => m.Code)
                <h2>Parameter</h2>
                <div style=" padding-bottom:15px;">
                    @@P1 @Html.EditorFor(m => m.List1, new { htmlAttributes = new { @class = "txtbox01" } })
                </div>
                <div style=" padding-bottom:15px;">
                    @@P2 @Html.EditorFor(model => model.List2, new { htmlAttributes = new { @class = "txtbox01" } })
                </div>

                <div style=" padding-bottom:15px;">
                    @@P3 @Html.EditorFor(model => model.List3, new { htmlAttributes = new { @class = "txtbox01" } })
                </div>

                <div style=" padding-bottom:15px;">
                    @@P4 @Html.EditorFor(model => model.List4, new { htmlAttributes = new { @class = "txtbox01" } })
                </div>

                <div style=" padding-bottom:15px;">
                    @@P5 @Html.EditorFor(model => model.List5, new { htmlAttributes = new { @class = "txtbox01" } })
                </div>

                <div style=" padding-bottom:15px;">
                    @@P6 @Html.EditorFor(model => model.List6, new { htmlAttributes = new { @class = "txtbox01" } })
                </div>


                <div style=" padding-bottom:30px; text-align:center;">
                    <input type="submit" value="GO" class="btn btn-01" />
                </div>
            </div>
            <div style="float:left; padding-left:20px;">
            </div>
            <div class="editor-field2" style=" float:left; padding-left:10px;">
                <h2>Result</h2>
                @Html.TextArea("txtREP", ViewData["txtREP"])
            </div>
    }
    </div>

